import request from '@/utils/request'

// 全院设备关联列表
export function apiRoomHospitalDeviceLists(params: any) {
    return request.get({ url: '/room.room_hospital_device/lists', params })
}

// 添加全院设备关联
export function apiRoomHospitalDeviceAdd(params: any) {
    return request.post({ url: '/room.room_hospital_device/add', params })
}

// 编辑全院设备关联
export function apiRoomHospitalDeviceEdit(params: any) {
    return request.post({ url: '/room.room_hospital_device/edit', params })
}

// 删除全院设备关联
export function apiRoomHospitalDeviceDelete(params: any) {
    return request.post({ url: '/room.room_hospital_device/delete', params })
}

// 全院设备关联详情
export function apiRoomHospitalDeviceDetail(params: any) {
    return request.get({ url: '/room.room_hospital_device/detail', params })
}

export function apiRoomHospitalDeviceSetSave(params?: any) {
    return request.post({ url: '/room.room_hospital_device/setSave', params })
}

export function apiRoomHospitalDeviceCopy(params: any) {
    return request.post({ url: '/room.room_hospital_device/copyAdd', params })
}